package com.usian.mapper;

import com.usian.image.Images;
import com.usian.vo.ResultVo;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface ImagesMapper {

    @Select("select * from images")
    List<Images> selectAll();

    @Insert("insert into images(id,userId,appointmentsId,image) values(#{id},#{userId},#{appointmentsId},#{image})")
    void addImages(Images images);
}
